define(['app'],function(app){return {module: function($scope, $http, eventBusService, httpService, params) {

	//查询主管单位信息
	httpService.post(app.urls.unit_selectAttachDetail,{"id":params.id},function(data){
		if("0000" === data.code){
			$scope.unit = data.data;
		}else{
			alert(data.msg);
		}
	});
	//返回
	$scope.goback = function(){
		var menu = {};
		menu.url = "modules/mobile/district/attach";
		eventBusService.publish("modules.mobile.load",menu);
	}
}}});